@charset "utf-8";
/*公共样式*/
html {
  font-family: "Helvetica Neue", Helvetica, STHeiTi, sans-serif;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  -webkit-overflow-scrolling: touch;
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
  outline: none;
}
dl,
dd {
  margin: 0;
}
a {
  display: inline-block;
  margin: 0;
  padding: 0;
  text-decoration: none;
  background: transparent;
  outline: none;
  color: #000;
}
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: currentColor;
}
a,
dt,
dd {
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
img {
  border: 0;
}
p {
  margin: 0;
}
input,
button,
select,
textarea {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background-color: transparent;
}
/*页面公共样式*/
body {
  position: relative;
}

.dialogue-wrapper {
  font-size: 14px;
  color: #fff;
}

/*底部客服对话框*/
.dialogue-wrapper .dialogue-main {
  position: fixed;
  /* display: none; */
  right: 40%;
  bottom: 10px;
  width: 400px;
  height: 350px;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}

/*客服对话框头部*/
.dialogue-wrapper .dialogue-main .dialogue-header {
  height: 52px;
  line-height: 52px;
  color: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  background: rgba(18, 26, 53, 1);
  font-size: 14px;
  padding-left: 24px;
}

.dialogue-wrapper .dialogue-main .dialogue-header .dialogue-close {
  position: absolute;
  top: 16px;
  right: 24px;
  cursor: pointer;
}

.dialogue-wrapper .dialogue-main .dialogue-service-info {
  position: relative;
  top: 50%;
  margin-top: -20px;
  height: 40px;
}

.dialogue-wrapper .dialogue-main .dialogue-service-img {
  display: inline-block;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  vertical-align: middle;
  color: #000;
  border-radius: 50%;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}
.dialogue-service-img img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.dialogue-wrapper .dialogue-main .dialogue-service-title {
  display: inline-block;
  vertical-align: middle;
}

.dialogue-wrapper .dialogue-main .dialogue-service-detail {
  font-size: 12px;
}

/*客服对话框内容*/
.dialogue-wrapper .dialogue-main .dialogue-contain {
  overflow-y: auto;
  padding: 10px;
  height: 225px;
  word-wrap: break-word;
  background: rgba(247, 240, 248, 1);
}

.dialogue-wrapper .dialogue-main .dialogue-text {
  display: inline-block;
  position: relative;
  padding: 10px;
  max-width: 250px;
  text-align: left;
  white-space: normal;
  border: 1px solid #5d94f3;
  border-radius: 4px;
  background: #5d94f3;
  box-sizing: border-box;
}

.dialogue-wrapper .dialogue-main .dialogue-service-contain {
  margin-bottom: 10px;
  text-align: left;
}

.dialogue-wrapper .dialogue-main .dialogue-service-text {
  margin-left: 15px;
  background-color: #fff;
  color: #000;
  border: 1px solid #fff;
}

.dialogue-wrapper .dialogue-main .dialogue-service-text:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 10px solid #fff;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

.dialogue-wrapper .dialogue-main .dialogue-customer-contain {
  margin-bottom: 10px;
  text-align: right;
}

.dialogue-wrapper .dialogue-main .dialogue-customer-text {
  margin-right: 15px;
}

.dialogue-wrapper .dialogue-main .dialogue-customer-text:after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #5d94f3;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

/*客服对话框底部与输入*/
.dialogue-wrapper .dialogue-main .dialogue-submit {
  position: relative;
  /* padding: 10px 0; */
  height: 52px;
  line-height: 52px;
  color: #000;
  word-wrap: break-word;
  /* border-top: 1px solid #ddd; */
  box-sizing: border-box;
}

/*空输入提示*/
.dialogue-wrapper .dialogue-main .dialogue-hint {
  position: absolute;
  top: -15px;
  left: 20px;
  padding: 2px;
  width: 140px;
  /* height: 18px; */
  opacity: 0;
  font-size: 12px;
  text-align: center;
  line-height: 18px;
  border: 1px solid #ddd;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  background-color: #fff;
}

.dialogue-wrapper .dialogue-main .dialogue-hint-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 5px;
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
  vertical-align: middle;
  line-height: 18px;
  color: #fff;
  border-radius: 50%;
  background-color: #5d94f3;
}

.dialogue-wrapper .dialogue-main .dialogue-hint-text {
  display: inline-block;
  vertical-align: middle;
}

/*输入框*/
.dialogue-wrapper .dialogue-submit .dialogue-input-tools {
  display: inline-block;
  width: 100px;
  vertical-align: middle;
  text-align: center;
  border-left: 1px solid rgba(0, 0, 0, 0.09);
}
.dialogue-wrapper .dialogue-submit .ant-input:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 !important;
  box-shadow: 0 0 0 !important;
}

.dialogue-wrapper .dialogue-submit .ant-input {
  overflow-y: hidden;
  white-space: pre-wrap;
  word-wrap: break-word;
  resize: none;
  box-sizing: border-box;
}

/* 输入联想 */
.dialogue-info {
  position: fixed;
  bottom: 65px;
  /* width: 400px;
  padding: 0 15px; */
  color: #000;
  background: #fff;
  overflow-y: auto;
  z-index: 0;
}
.dialogue-info ul {
  width: 380px;
  margin: 0 10px;
}

.dialogue-info ul li {
  height: 35px;
  line-height: 35px;
  cursor: pointer;
}

.dialogue-info ul li:hover {
  background: #2dc3e8;
  color: #ffffff;
}

.li-border-bottom {
  border-bottom: 1px solid rgb(221, 221, 221);
}

/* 对话回复 */
.dialogue-question {
  text-align: left;
  line-height: 25px;
}

.dialogue-reply {
  margin: 10px 0;
  line-height: 25px;
}

.dialogue-reply-link {
  padding: 0 2px;
  margin: 0;
}

.dialogue-reply-link li {
  cursor: pointer;
  line-height: 25px;
  color: #09d07d;
}

.dialogue-input-text {
  margin-left: 10px;
  width: 280px;
  resize: none;
  border: 0px;
  height: 32px;
  display: inline-block;
}
/* 确定 */
.sendBtn {
  cursor: pointer;
}
/* 小AI end */
